POV-Ray : Newsgroups : povray.newusers : stumped : stumped Server Time
5 Sep 2024 04:13:15 EDT (-0400)
  stumped  
From: Mick Hazelgrove
Date: 10 Nov 2001 09:49:05
Message: <3bed3e61@news.povray.org>
How can I make the beam of light solid - code follows

light_source {
  <-0, 5, 0>
  color rgb <1,1,1>*30
  spotlight
  cylinder
  point_at <0, -10, 0>
  radius .5                // hotspot (inner, in degrees)
  tightness 10            // tightness of falloff (1...100) lower is softer,
higher is tighter
  falloff 3               // intensity falloff radius (outer, in degrees)
   media_interaction on
}
cylinder{y*-10,y*10,1//was2
  pigment {color rgbt 1}
 interior{
  media{
  scattering{1,1 extinction .125}
      method 3
      samples 20,100
      intervals 10
      }
  }
   hollow
}

Mick


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.